<template>
  <div class="box-header">
    <text-convert-img :src="row.logoUrl || row.imgUrl" :width="78" :height="78" :text="row.name || row.title" />
    <div class="text">
      <div v-text="row.name || row.title"></div>
      <a :href="row.url" target="_blank"><iconpark-icon name="amazon"></iconpark-icon></a>
    </div>
  </div>
</template>
<script setup lang="ts">
const props = defineProps({
  row: {
    type: Object,
    default: () => {
      return {
        name: '',
        logoUrl: '',
        url: '',
      }
    },
  },
})
import TextConvertImg from '@/plugins/pair/text-convert-img.vue'
</script>
<style scoped lang="scss"></style>
